﻿@using Lavka.Core
@model Lavka.Core.DisplayType
<table width="100%">
<tr>
<td></td>
<td style="width: 48px;">
    <div class="change-view">
        @if (Model == DisplayType.List)
        {
            @Html.ActionLink("List", "List", "Products", null, new { @class = "show-list active" })
            @Html.ActionLink("Galery", "Galery", "Products", null, new { @class = "show-gallery" })            
        } 
        @if (Model == DisplayType.Galery)
        {
            @Html.ActionLink("List", "List", "Products", null, new { @class = "show-list" })
            @Html.ActionLink("Galery", "Galery", "Products", null, new { @class = "show-gallery active" })            
        } 
    </div>   
</td>
</tr>
</table>